﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

/*********************************************************
 * 命名空间 Simple.FileBackServer.Entity
 * 接口名称 FileEntity
 * 开发人员：11920
 * 创建时间：2023/5/18 13:49:02
 * 描述说明：
 * 更改历史：
 * 
 * *******************************************************/
namespace Simple.FileBackServer.Entity
{
	[SugarTable("FileTable")]
	public class FileEntity
	{
		/// <summary>
		/// id
		/// </summary>
		[SugarColumn(IsIdentity =true,IsPrimaryKey =true)]
		
		public int Id { get { return id; } set { id = value; } }
		/// <summary>
		/// 文件名称
		/// </summary>
		public string FileName { get { return fileName; } set { fileName = value; } }

	   /// <summary>
	   /// 文件hash值
	   /// </summary>
		public string HashCode { get { return hashCode; } set { hashCode = value; } }
		/// <summary>
		/// 客户端根目录
		/// </summary>
		public string ClientRootDir { get { return clientRootDir; } set { clientRootDir = value; } }

		private string hashCode;
		private string fileName;
		private string clientRootDir;
		private int id;
	}
}
